home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / Book Chapters / 02 - Basic Game Graphics / Amalgam ƒ / FadeGDev.h < prev    next >
Encoding:
Text File  |  1995-03-05  |  550 b   |  21 lines  |  [TEXT/MMCC]

  1. //\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
  2. //
  3. //    FadeGDev.h
  4. //
  5. //    Code to fade a GDevice from and to black
  6. //
  7. //    History:
  8. //
  9. //    950305 jb: Compiled
  10. //
  11. //\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
  12.  
  13. typedef enum
  14. {
  15.     eFade_FadeInCommand,
  16.     eFade_FadeOutCommand
  17. }    etFadeCommand;
  18.  
  19. void FadeWindowsGDev( WindowPtr theWindow, short speed, etFadeCommand fadeCmd );
  20. void FadeGDevice( GDHandle screen, short speed, etFadeCommand fadeCmd );
  21.